/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const shopRouter = {
  path: '/shop',
  component: Layout,
  name: '店铺装修',
  meta: {
    title: '店铺装修',
    subtitle:'装修',
    icon: 'menu_shop'
  },
  children: [
    {
      path: '/tag/list',
      component: () => import('@/views/tag/list'),
      name: 'tag-list',
      meta: {title: '标签设置' ,subtitle:'标签',icon:'menu_tag',permissions:['tag.query']}
    },
    {
      path: '/ad/list',
      component: () => import('@/views/ad/list'),
      name: 'ad-list',
      meta: {title: '广告管理' ,subtitle:'广告',icon:'menu_ad',permissions:['ad.query']}
    },
    {
      path: '/recommend/list',
      component: () => import('@/views/recommend/list'),
      name: 'recommend-list',
      meta: {title: '推荐管理' ,subtitle:'推荐',icon:'menu_ad',permissions:['recommend.query']}
    },
    {
      path:'/navigation/list',
      component: () => import('@/views/navigation/list'),
      name: 'navigation-list',
      meta: {title: '导航设置' ,subtitle:'导航',icon:'menu_navigation',permissions:['navigation.query']}
    },
    {
      path:'/designer/index',
      component: () => import('@/views/designer/index'),
      name: 'designer-index',
      meta: {title: '页面设计' ,icon:'menu_desc',permissions:['designer.query']},
      hidden: true
    },
    {
      path:'/designer/list',
      component: () => import('@/views/designer/list'),
      name: 'designer-list',
      meta: {title: '页面管理' ,subtitle:'页面',icon:'menu_desc'}
    },
    {
      path:'/designer/add',
      component: () => import('@/views/designer/add'),
      name: 'designer-add',
      meta: {title: '新增页面管理' ,icon:'menu_desc'},
      hidden: true
    },
    {
      path:'/designer/edit',
      component: () => import('@/views/designer/edit'),
      name: 'designer-edit',
      meta: {title: '修改页面管理' ,icon:'menu_desc'},
      hidden: true
    },
  	{
	    path: '/sysSetUp/index',
	    component: () => import('@/views/sysSetUp/index'),
	    name: 'sysSetUp-index',
	    meta: { title: '店铺设置', subtitle:'设置',icon: 'menu_sysSetUp',permissions:['parameter.query'] }
    },

  ]
}
export default shopRouter
